class S2.UI.Base
Description
A base class for all UI widgets.
Subclasses
Includes
Methods
Instance methods
-
addObservers #
S2.UI.Base#addObservers() -> undefined -
destroy #
S2.UI.Base#destroy() -> undefined -
inspect #
S2.UI.Base#inspect() -> StringReturns a debug-friendly string representation of the widget.
-
removeObservers #
S2.UI.Base#removeObservers() -> undefined -
toElement #
S2.UI.Base#toElement() -> Element | nullReturns the DOM element corresponding to this control.
By default, this returns the instance's
elementproperty, but widgets can override this behavior.